#include<stdio.h>
#include<stdlib.h>

#define USERNAME 100
#define FILENAME "./usrInfo"
typedef struct 
{
    char userName[20];
    char password[20]; 
}logInfo;

typedef struct 
{
    logInfo user[USERNAME];
    int  userNum;
}logIn;

static logIn login={0};
int signIn();
void regUser();

int logWriteToFile();
int logReadFromFile();